package com.itheima.d13_extends_override;

public class Animal {//父类，也叫超类，也叫基类
    public void cry(){
        System.out.println("动物会叫~~~~~");
    }

    public void eat(){
        System.out.println("动物要吃饭~~~");
        }
}
